home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1998 July
/
EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso
/
earkit
/
news
/
thor
/
rexx
/
examples
/
showpicture_ex.thor
< prev
next >
Wrap
Text File
|
1998-05-24
|
378b
|
27 lines
/*
* $VER: ShowPicture_ex.thor 1.0 (6.9.95)
* - example program for the SHOWPICTURE function
*
*/
options results
thorport = address()
REQUESTFILE title '"Select picture to view:"' id '"s:"' fullpath
if(rc ~= 0) then
do
if(rc = 30) then say THOR.LASTERROR
exit
end
filename = result
SHOWPICTURE file '"'filename'"'
if(rc = 30) then
do
say THOR.LASTERROR
end
exit